package Interface.Exercise01;

public class DaoShi extends Role implements Treat{

    //override 父类
    @Override
    public void attrack01(Role role) {
        //override
    }

    //override 接口方法
    @Override
    public void treat() {
        System.out.println("treat myself");
    }

    @Override
    public void treat(Role role) {
        System.out.println("treat my teammate");
    }
}
